/* 全局设定 */
body{
    font: 62.5% "Trebuchet MS", sans-serif;
    margin: 0;
}
img, div, label, form{
    margin: 0;
    padding: 0;
    border: 0;
}
a:link, a:visited{
    color: black;
    text-decoration: none;
}
a:hover, a:active{
    color: #0267b1;
    text-decoration: underline;
}

/* jquery fixed*/
select.ui-datepicker-year, select.ui-datepicker-month{
    width: 40% !important;
}

/* 顶部设定 */
#top{
    margin: 0 auto;
    height: 40px;
    background-image: url('/static/image/topbar.png');
    background-repeat: repeat-x;
    line-height: 40px;
}
#top-container{
    margin: 0 auto;
    height: 40px;
    width: 980px;
}
#top-info{
    float: left;
    width: 500px;
    font-size: 12px;
}
#top-nav{
    float: right;
    width: 400px;
    font-size: 12px;
    text-align: right;
}

/* 搜索栏 */
#search{
    height: 60px;
}
#search-container{
    height: 30px;
    float: right;
    margin-top: 10px;
    line-height: 30px;
}
#search-botton{
    padding: 1px 6px;
}
#search-botton span{
    padding: 0;
}
#search-text{
    margin-top: 4px;
    margin-right: 10px;
}
#page-title{
    float: left;
    margin-left: 20px;
}
#page-title h1{
    margin: 10px auto;
    font-size: 20px;
}
.search-empty{
    color: gray;
}

/* 主页面 */
#wrapper{
    width: 980px;
    margin: 0 auto;
}

/* 提示框 */
#dialog{
    text-align: center;
}

/* 表单相关 */
#normal-form{
    margin: 0 auto;
    width: 500px;
    display: block;
}
.input-row{
    height: 20px;
}
.input-row-multi{
    height: 65px;
}
.input-label{
    width: 60px;
    height: 20px;
    margin-right: 10px;
    line-height: 20px;
    text-align: right;
    display: block;
    float: left;
}
.input-text{
    width: 160px;
    float: left;
    border: 1px solid #111111;
    margin: 0;
    padding: 0;
    padding-left: 2px;
    margin-right: 5px;
}
.input-text-short{
    width: 80px;
}
.input-text-long{
    width: 420px;
}
.input-text-multi{
    width: 420px;
    height: 60px;
}
.input-row-photo{
    width: 400px;
    height: 180px;
}
.input-invalidate{
    border: 1px solid red;
    background-color: #fdd;
}
.input-validate{
    border: 1px solid green;
    background-color: #dfd;
}
.notice-row{
    height: 20px;
    margin-bottom: 5px;
}
.notice-label{
    width: 300px;
    height: 20px;
    line-height: 20px;
    margin-left: 70px;
    color: gray;
}
.submit-row{
    height: 30px;
    width: 60px;
    margin-left: 68px;
    margin-top:16px;
}
#form-check-exist{
    display: block;
    float: left;
    cursor: pointer;
}
.form-photo-wrapper{
    position:relative;
    height:200px;
    width:300px;
    display:block;
}
.form-photo-file{
    position:relative;
    margin-left:68px;
    width:28px;
    height:18px;
    overflow:hidden;
    cursor: pointer;
    padding-left:10px;
    padding-top:0px;
}
.form-photo-file input{
    width:30px;
    height:20px;
    display:block;
    position:absolute;
    left:0;
    top:0;
    z-index:10;
    filter:alpha(opacity=0);
    moz-opacity:0;
    opacity:0;
    cursor: pointer;
}
#form-photo-preview{
    height:150px;
    width:200px;
}

/* 商品列表相关 */
#item-list, .item-ul{
    width: 850px;
    border: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    list-style-type: none;
}
.item-div-left{
    height: 150px;
    width: 200px;
    margin: 5px 5px;
    float: left;
}
.item-li{
    height: 160px;
    border: 1px #ccc solid;
    margin-bottom: 10px;
    padding: 5px;
    padding-bottom: 7px;
}
.item-div-middle{
    float: left;
}
.item-photo{
    max-height: 100%;
    max-width: 100%;
    border: 1px #ccc solid;
}
.item-title{
    width: 80px;
    display: block;
    float: left;
    font-size: 15px;
    font-weight: bold;
}
.item-value{
    width: 400px;
    display: block;
    float: left;
    font-size: 15px;
    font-weight: bold;
}
.item-describe-row{
    width: 500px;
    height: 30px;
    margin-left: 20px;
    margin-top: 10px;
}
.item-div-right{
    float: right;
    padding-top: 30px;
    padding-right: 20px;
}
.item-button-row{
    margin-top: 10px;
    margin-left: 18px;
}
.item-photo-big{
    height: 150px;
    width: 200px;
    margin: 5px 5px;
}
#item-div{
    height:200px;
    width: 800px;
    border: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    list-style-type: none;
    display:block;
}
.item-div-detial{
    height:100px;
    width: 800px;
    border: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
.item-div-action{
    height:100px;
    width: 800px;
    border: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
.item-detail{
    font-size: 20px;
}

/* 搜索页相关 */
.item-search-text-row{
    width:250px;
    height:30px;
    margin:0 auto;
}
.item-search-radio-row{
    width:200px;
    height:20px;
    margin:0 auto;
    line-height:20px;
}
.item-search-text-row input[type="text"]{
    margin-top:6px;
}
.item-search-radio{
    margin:0;
    display:block;
    float:left;
    margin-top:4px;
    margin-right:4px;
}
.item-search-radio-row label{
    margin:0;
    display:block;
    float:left;
    margin-right:12px;
}
.input-text-price{
    width:40px;
    margin-left:5px;
}
.item-search-text-row label{
    display:block;
    float:left;
    margin-top:6px;
    margin-left:0;
    margin-right:10px;
}

/* 翻页链接相关 */
#page-row{
    width: 500px;
    height: 30px;
    margin: 0 auto;
    text-align: center;
    list-style-type: none;
}
#page-row li{
    width: 30px;
    display: block;
    float: left;
    margin-left: 15px;
    font-size: 20px;
    cursor: pointer;
}
#page-row li:hover{
    color: #0267b1;
    text-decoration: underline;
}
.page-current{
    font-weight: bold;
}

/* 提示页相关 */
.info-content{
    height:150px;
    width:500px;
    margin:0 auto;
    border:1px solid #ccc;
    text-align:center;
}
.info-content a{
    text-decoration: underline;
}
.info-message{
    margin-top: 20px;
    font-size: 20px;
}
.info-action{
    margin-top: 15px;
    font-size: 15px;
}
.info-notice{
    margin-top: 15px;
    font-size: 15px;
}
.info-message label{
    display:block;
    margin-left:auto;
}
.info-sign{
    display:inline-block;
}

/* 充值页相关 */
.confirm-content{
    height:150px;
    width:500px;
    margin:0 auto;
    border:1px solid #ccc;
    text-align:center;
}
.confirm-message{
    height:30px;
    width:200px;
    margin:0 auto;
    font-size:20px;
    margin-top:20px;
}
.confirm-content a{
    color: #0267b1;
    text-decoration: underline;
}
.confirm-table{
    width:300px;
    margin-left:auto;
    margin-right:auto;
    margin-top:10px;
    border-collapse:collapse;
    border:solid 1px #4F81BD;
}
.confirm-table a{
    color: #0267b1;
    text-decoration: underline;
}
.confirm-table caption{
    margin-bottom:10px;
    font:bold 16px SongTi;
}
.confirm-table tr td,th{
    height:20px;
    border:solid 1px #4F81BD;
    text-align:center;
}
